package com.apollographql.apollo.api;

import java.util.List;
import java.util.Map;
import java.util.Set;
import com.kt.Deprecated;
import com.kt.Metadata;
import com.kt.ReplaceWith;
import com.kt.jvm.JvmStatic;
import com.kt.jvm.internal.DefaultConstructorMarker;
import com.kt.jvm.internal.Intrinsics;

@Metadata(bv = {1, 0, 3}, d1 = {"\u0000L\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\"\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010$\n\u0000\n\u0002\u0018\u0002\n\u0002\b \n\u0002\u0010\b\n\u0002\b\u0005\b\b\u0018\u0000 9*\u0004\b\u0000\u0010\u00012\u00020\u0002:\u000289B\u0015\b\u0016\u0012\f\u0010\u0003\u001a\b\u0012\u0004\u0012\u00028\u00000\u0004¢\u0006\u0002\u0010\u0005Bq\u0012\u0012\u0010\u0006\u001a\u000e\u0012\u0002\b\u0003\u0012\u0002\b\u0003\u0012\u0002\b\u00030\u0007\u0012\b\u0010\b\u001a\u0004\u0018\u00018\u0000\u0012\u0010\b\u0002\u0010\t\u001a\n\u0012\u0004\u0012\u00020\u000b\u0018\u00010\n\u0012\u000e\b\u0002\u0010\f\u001a\b\u0012\u0004\u0012\u00020\u000e0\r\u0012\b\b\u0002\u0010\u000f\u001a\u00020\u0010\u0012\u0016\b\u0002\u0010\u0011\u001a\u0010\u0012\u0004\u0012\u00020\u000e\u0012\u0006\u0012\u0004\u0018\u00010\u00020\u0012\u0012\b\b\u0002\u0010\u0013\u001a\u00020\u0014¢\u0006\u0002\u0010\u0015J\u0015\u0010(\u001a\u000e\u0012\u0002\b\u0003\u0012\u0002\b\u0003\u0012\u0002\b\u00030\u0007HÆ\u0003J\u0010\u0010)\u001a\u0004\u0018\u00018\u0000HÆ\u0003¢\u0006\u0002\u0010\u0017J\u0011\u0010*\u001a\n\u0012\u0004\u0012\u00020\u000b\u0018\u00010\nHÆ\u0003J\u000f\u0010+\u001a\b\u0012\u0004\u0012\u00020\u000e0\rHÆ\u0003J\t\u0010,\u001a\u00020\u0010HÆ\u0003J\u0017\u0010-\u001a\u0010\u0012\u0004\u0012\u00020\u000e\u0012\u0006\u0012\u0004\u0018\u00010\u00020\u0012HÆ\u0003J\t\u0010.\u001a\u00020\u0014HÆ\u0003J\u0001\u0010/\u001a\b\u0012\u0004\u0012\u00028\u00000\u00002\u0014\b\u0002\u0010\u0006\u001a\u000e\u0012\u0002\b\u0003\u0012\u0002\b\u0003\u0012\u0002\b\u00030\u00072\n\b\u0002\u0010\b\u001a\u0004\u0018\u00018\u00002\u0010\b\u0002\u0010\t\u001a\n\u0012\u0004\u0012\u00020\u000b\u0018\u00010\n2\u000e\b\u0002\u0010\f\u001a\b\u0012\u0004\u0012\u00020\u000e0\r2\b\b\u0002\u0010\u000f\u001a\u00020\u00102\u0016\b\u0002\u0010\u0011\u001a\u0010\u0012\u0004\u0012\u00020\u000e\u0012\u0006\u0012\u0004\u0018\u00010\u00020\u00122\b\b\u0002\u0010\u0013\u001a\u00020\u0014HÆ\u0001¢\u0006\u0002\u00100J\u000f\u0010\b\u001a\u0004\u0018\u00018\u0000H\u0007¢\u0006\u0002\u0010\u0017J\u000e\u0010\f\u001a\b\u0012\u0004\u0012\u00020\u000e0\rH\u0007J\u0013\u00101\u001a\u00020\u00102\b\u00102\u001a\u0004\u0018\u00010\u0002H\u0002J\u0010\u0010\t\u001a\n\u0012\u0004\u0012\u00020\u000b\u0018\u00010\nH\u0007J\u0016\u0010\u0011\u001a\u0010\u0012\u0004\u0012\u00020\u000e\u0012\u0006\u0012\u0004\u0018\u00010\u00020\u0012H\u0007J\b\u0010!\u001a\u00020\u0010H\u0007J\u0006\u00103\u001a\u00020\u0010J\b\u00104\u001a\u000205H\u0016J\u0014\u0010\u0006\u001a\u000e\u0012\u0002\b\u0003\u0012\u0002\b\u0003\u0012\u0002\b\u00030\u0007H\u0007J\f\u00106\u001a\b\u0012\u0004\u0012\u00028\u00000\u0004J\t\u00107\u001a\u00020\u000eHÖ\u0001R\u0015\u0010\b\u001a\u0004\u0018\u00018\u0000¢\u0006\n\n\u0002\u0010\u0018\u001a\u0004\b\u0016\u0010\u0017R\u0017\u0010\f\u001a\b\u0012\u0004\u0012\u00020\u000e0\r¢\u0006\b\n\u0000\u001a\u0004\b\u0019\u0010\u001aR\u0019\u0010\t\u001a\n\u0012\u0004\u0012\u00020\u000b\u0018\u00010\n¢\u0006\b\n\u0000\u001a\u0004\b\u001b\u0010\u001cR\u0011\u0010\u0013\u001a\u00020\u0014¢\u0006\b\n\u0000\u001a\u0004\b\u001d\u0010\u001eR\u001f\u0010\u0011\u001a\u0010\u0012\u0004\u0012\u00020\u000e\u0012\u0006\u0012\u0004\u0018\u00010\u00020\u0012¢\u0006\b\n\u0000\u001a\u0004\b\u001f\u0010 R\u001c\u0010!\u001a\u00020\u00108\u0006X\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\"\u0010#\u001a\u0004\b$\u0010%R\u0011\u0010\u000f\u001a\u00020\u0010¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010%R\u001d\u0010\u0006\u001a\u000e\u0012\u0002\b\u0003\u0012\u0002\b\u0003\u0012\u0002\b\u00030\u0007¢\u0006\b\n\u0000\u001a\u0004\b&\u0010'¨\u0006:"}, d2 = {"Lcom/apollographql/apollo/api/Response;", "T", "", "builder", "Lcom/apollographql/apollo/api/Response$Builder;", "(Lcom/apollographql/apollo/api/Response$Builder;)V", "operation", "Lcom/apollographql/apollo/api/Operation;", "type", "errors", "", "Lcom/apollographql/apollo/api/Error;", "dependentKeys", "", "", "isFromCache", "", "extensions", "", "executionContext", "Lcom/apollographql/apollo/api/ExecutionContext;", "(Lcom/apollographql/apollo/api/Operation;Ljava/lang/Object;Ljava/util/List;Ljava/util/Set;ZLjava/util/Map;Lcom/apollographql/apollo/api/ExecutionContext;)V", "getData", "()Ljava/lang/Object;", "Ljava/lang/Object;", "getDependentKeys", "()Ljava/util/Set;", "getErrors", "()Ljava/util/List;", "getExecutionContext", "()Lcom/apollographql/apollo/api/ExecutionContext;", "getExtensions", "()Ljava/util/Map;", "fromCache", "getFromCache$annotations", "()V", "getFromCache", "()Z", "getOperation", "()Lcom/apollographql/apollo/api/Operation;", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "copy", "(Lcom/apollographql/apollo/api/Operation;Ljava/lang/Object;Ljava/util/List;Ljava/util/Set;ZLjava/util/Map;Lcom/apollographql/apollo/api/ExecutionContext;)Lcom/apollographql/apollo/api/Response;", "equals", "other", "hasErrors", "hashCode", "", "toBuilder", "toString", "Builder", "Companion", "apollo-api"}, k = 1, mv = {1, 4, 0})
/* compiled from: Response.kt */
public final class Response<T> {
    public static final Companion Companion = new Companion(null);
    private final T data;
    private final Set<String> dependentKeys;
    private final List<Error> errors;
    private final ExecutionContext executionContext;
    private final Map<String, Object> extensions;
    private final boolean fromCache;
    private final boolean isFromCache;
    private final Operation<?, ?, ?> operation;

    @JvmStatic
    public static final <T> Builder<T> builder(Operation<?, ?, ?> operation2) {
        return Companion.builder(operation2);
    }

    /* JADX DEBUG: Multi-variable search result rejected for r5v0, resolved type: com.apollographql.apollo.api.Response */
    /* JADX WARN: Multi-variable type inference failed */
    public static /* synthetic */ Response copy$default(Response response, Operation operation2, Object obj, List list, Set set, boolean z, Map map, ExecutionContext executionContext2, int i, Object obj2) {
        if ((i & 1) != 0) {
            operation2 = response.operation;
        }
        if ((i & 2) != 0) {
            obj = response.data;
        }
        if ((i & 4) != 0) {
            list = response.errors;
        }
        if ((i & 8) != 0) {
            set = response.dependentKeys;
        }
        if ((i & 16) != 0) {
            z = response.isFromCache;
        }
        if ((i & 32) != 0) {
            map = response.extensions;
        }
        if ((i & 64) != 0) {
            executionContext2 = response.executionContext;
        }
        return response.copy(operation2, obj, list, set, z, map, executionContext2);
    }

    @Deprecated(message = "Use isFromCache Instead", replaceWith = @ReplaceWith(expression = "isFromCache", imports = {}))
    public static /* synthetic */ void getFromCache$annotations() {
    }

    public final Operation<?, ?, ?> component1() {
        return this.operation;
    }

    public final T component2() {
        return this.data;
    }

    public final List<Error> component3() {
        return this.errors;
    }

    public final Set<String> component4() {
        return this.dependentKeys;
    }

    public final boolean component5() {
        return this.isFromCache;
    }

    public final Map<String, Object> component6() {
        return this.extensions;
    }

    public final ExecutionContext component7() {
        return this.executionContext;
    }

    public final Response<T> copy(Operation<?, ?, ?> operation2, T t, List<Error> list, Set<String> set, boolean z, Map<String, ? extends Object> map, ExecutionContext executionContext2) {
        Intrinsics.checkParameterIsNotNull(operation2, "operation");
        Intrinsics.checkParameterIsNotNull(set, "dependentKeys");
        Intrinsics.checkParameterIsNotNull(map, "extensions");
        Intrinsics.checkParameterIsNotNull(executionContext2, "executionContext");
        return new Response<>(operation2, t, list, set, z, map, executionContext2);
    }

    public String toString() {
        return "Response(operation=" + this.operation + ", data=" + ((Object) this.data) + ", errors=" + this.errors + ", dependentKeys=" + this.dependentKeys + ", isFromCache=" + this.isFromCache + ", extensions=" + this.extensions + ", executionContext=" + this.executionContext + ")";
    }

    public Response(Operation<?, ?, ?> operation2, T t, List<Error> list, Set<String> set, boolean isFromCache2, Map<String, ? extends Object> map, ExecutionContext executionContext2) {
        Intrinsics.checkParameterIsNotNull(operation2, "operation");
        Intrinsics.checkParameterIsNotNull(set, "dependentKeys");
        Intrinsics.checkParameterIsNotNull(map, "extensions");
        Intrinsics.checkParameterIsNotNull(executionContext2, "executionContext");
        this.operation = operation2;
        this.data = t;
        this.errors = list;
        this.dependentKeys = set;
        this.isFromCache = isFromCache2;
        this.extensions = (Map<String, Object>) map;
        this.executionContext = executionContext2;
        this.fromCache = isFromCache2;
    }

    public final Operation<?, ?, ?> getOperation() {
        return this.operation;
    }

    public final T getData() {
        return this.data;
    }

    /* JADX WARNING: Illegal instructions before constructor call */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public /* synthetic */ Response(Operation r10, Object r11, List r12, Set r13, boolean r14, Map r15, ExecutionContext r16, int r17, com.kt.jvm.internal.DefaultConstructorMarker r18) {
        /*
            r9 = this;
            r0 = r17 & 4
            if (r0 == 0) goto L_0x0009
            r0 = 0
            java.util.List r0 = (java.util.List) r0
            r4 = r0
            goto L_0x000a
        L_0x0009:
            r4 = r12
        L_0x000a:
            r0 = r17 & 8
            if (r0 == 0) goto L_0x0014
            java.util.Set r0 = com.kt.collections.SetsKt.emptySet()
            r5 = r0
            goto L_0x0015
        L_0x0014:
            r5 = r13
        L_0x0015:
            r0 = r17 & 16
            if (r0 == 0) goto L_0x001c
            r0 = 0
            r6 = 0
            goto L_0x001d
        L_0x001c:
            r6 = r14
        L_0x001d:
            r0 = r17 & 32
            if (r0 == 0) goto L_0x0027
            java.util.Map r0 = com.kt.collections.MapsKt.emptyMap()
            r7 = r0
            goto L_0x0028
        L_0x0027:
            r7 = r15
        L_0x0028:
            r0 = r17 & 64
            if (r0 == 0) goto L_0x0030
            com.apollographql.apollo.api.ExecutionContext r0 = com.apollographql.apollo.api.ExecutionContext.Empty
            r8 = r0
            goto L_0x0032
        L_0x0030:
            r8 = r16
        L_0x0032:
            r1 = r9
            r2 = r10
            r3 = r11
            r1.<init>(r2, r3, r4, r5, r6, r7, r8)
            return
        */
        throw new UnsupportedOperationException("Method not decompiled: com.apollographql.apollo.api.Response.<init>(com.apollographql.apollo.api.Operation, java.lang.Object, java.util.List, java.util.Set, boolean, java.util.Map, com.apollographql.apollo.api.ExecutionContext, int, com.kt.jvm.internal.DefaultConstructorMarker):void");
    }

    public final List<Error> getErrors() {
        return this.errors;
    }

    public final Set<String> getDependentKeys() {
        return this.dependentKeys;
    }

    public final boolean isFromCache() {
        return this.isFromCache;
    }

    public final Map<String, Object> getExtensions() {
        return this.extensions;
    }

    public final ExecutionContext getExecutionContext() {
        return this.executionContext;
    }

    /* JADX WARNING: Illegal instructions before constructor call */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public Response(Builder<T> r10) {
        /*
            r9 = this;
            java.lang.String r0 = "builder"
            com.kt.jvm.internal.Intrinsics.checkParameterIsNotNull(r10, r0)
            com.apollographql.apollo.api.Operation r2 = r10.getOperation$apollo_api()
            java.lang.Object r3 = r10.getData$apollo_api()
            java.util.List r4 = r10.getErrors$apollo_api()
            java.util.Set r0 = r10.getDependentKeys$apollo_api()
            if (r0 == 0) goto L_0x0019
            goto L_0x001d
        L_0x0019:
            java.util.Set r0 = com.kt.collections.SetsKt.emptySet()
        L_0x001d:
            r5 = r0
            boolean r6 = r10.getFromCache$apollo_api()
            java.util.Map r0 = r10.getExtensions$apollo_api()
            if (r0 == 0) goto L_0x0029
            goto L_0x002d
        L_0x0029:
            java.util.Map r0 = com.kt.collections.MapsKt.emptyMap()
        L_0x002d:
            r7 = r0
            com.apollographql.apollo.api.ExecutionContext r8 = r10.getExecutionContext$apollo_api()
            r1 = r9
            r1.<init>(r2, r3, r4, r5, r6, r7, r8)
            return
        */
        throw new UnsupportedOperationException("Method not decompiled: com.apollographql.apollo.api.Response.<init>(com.apollographql.apollo.api.Response$Builder):void");
    }

    @Deprecated(message = "Use property instead", replaceWith = @ReplaceWith(expression = "operation", imports = {}))
    public final Operation<?, ?, ?> operation() {
        return this.operation;
    }

    @Deprecated(message = "Use property instead", replaceWith = @ReplaceWith(expression = "data", imports = {}))
    public final T data() {
        return this.data;
    }

    @Deprecated(message = "Use property instead", replaceWith = @ReplaceWith(expression = "errors", imports = {}))
    public final List<Error> errors() {
        return this.errors;
    }

    @Deprecated(message = "Use property instead", replaceWith = @ReplaceWith(expression = "dependentKeys", imports = {}))
    public final Set<String> dependentKeys() {
        return this.dependentKeys;
    }

    public final boolean hasErrors() {
        List<Error> list = this.errors;
        return !(list == null || list.isEmpty());
    }

    @Deprecated(message = "Use property instead", replaceWith = @ReplaceWith(expression = "isFromCache", imports = {}))
    public final boolean fromCache() {
        return this.isFromCache;
    }

    public final boolean getFromCache() {
        return this.fromCache;
    }

    @Deprecated(message = "Use property instead", replaceWith = @ReplaceWith(expression = "extensions", imports = {}))
    public final Map<String, Object> extensions() {
        return this.extensions;
    }

    public final Builder<T> toBuilder() {
        return new Builder(this.operation).data(this.data).errors(this.errors).dependentKeys(this.dependentKeys).fromCache(this.isFromCache).extensions(this.extensions).executionContext(this.executionContext);
    }

    public boolean equals(Object other) {
        if (this == other) {
            return true;
        }
        if ((other instanceof Response) && !(!Intrinsics.areEqual(this.operation, ((Response) other).operation)) && !(!Intrinsics.areEqual((Object) this.data, (Object) ((Response) other).data)) && !(!Intrinsics.areEqual(this.errors, ((Response) other).errors)) && !(!Intrinsics.areEqual(this.dependentKeys, ((Response) other).dependentKeys)) && this.isFromCache == ((Response) other).isFromCache && !(!Intrinsics.areEqual(this.extensions, ((Response) other).extensions)) && !(!Intrinsics.areEqual(this.executionContext, ((Response) other).executionContext))) {
            return true;
        }
        return false;
    }

    public int hashCode() {
        int hashCode = this.operation.hashCode() * 31;
        T t = this.data;
        int i = 0;
        int result = (hashCode + (t != null ? t.hashCode() : 0)) * 31;
        List<Error> list = this.errors;
        if (list != null) {
            i = list.hashCode();
        }
        return ((((result + i) * 31) + this.dependentKeys.hashCode()) * 31)  + this.extensions.hashCode();
    }

    @Metadata(bv = {1, 0, 3}, d1 = {"\u0000L\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\b\b\n\u0002\u0010\"\n\u0002\u0010\u000e\n\u0002\b\u0005\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010$\n\u0002\b\u0005\n\u0002\u0010\u000b\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\b\u0002\u0018\u0000*\u0004\b\u0001\u0010\u00012\u00020\u0002B\u001b\b\u0000\u0012\u0012\u0010\u0003\u001a\u000e\u0012\u0002\b\u0003\u0012\u0002\b\u0003\u0012\u0002\b\u00030\u0004¢\u0006\u0002\u0010\u0005J\f\u0010.\u001a\b\u0012\u0004\u0012\u00028\u00010/J\u001b\u0010\u0006\u001a\b\u0012\u0004\u0012\u00028\u00010\u00002\b\u0010\u0006\u001a\u0004\u0018\u00018\u0001¢\u0006\u0002\u00100J\u001c\u0010\f\u001a\b\u0012\u0004\u0012\u00028\u00010\u00002\u000e\u0010\f\u001a\n\u0012\u0004\u0012\u00020\u000e\u0018\u00010\rJ\u001c\u0010\u0013\u001a\b\u0012\u0004\u0012\u00028\u00010\u00002\u000e\u0010\u0013\u001a\n\u0012\u0004\u0012\u00020\u0015\u0018\u00010\u0014J\u0014\u0010\u001a\u001a\b\u0012\u0004\u0012\u00028\u00010\u00002\u0006\u0010\u001a\u001a\u00020\u001bJ$\u0010 \u001a\b\u0012\u0004\u0012\u00028\u00010\u00002\u0016\u0010 \u001a\u0012\u0012\u0004\u0012\u00020\u000e\u0012\u0006\u0012\u0004\u0018\u00010\u0002\u0018\u00010!J\u0014\u0010&\u001a\b\u0012\u0004\u0012\u00028\u00010\u00002\u0006\u0010&\u001a\u00020'R\u001e\u0010\u0006\u001a\u0004\u0018\u00018\u0001X\u000e¢\u0006\u0010\n\u0002\u0010\u000b\u001a\u0004\b\u0007\u0010\b\"\u0004\b\t\u0010\nR\"\u0010\f\u001a\n\u0012\u0004\u0012\u00020\u000e\u0018\u00010\rX\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\u000f\u0010\u0010\"\u0004\b\u0011\u0010\u0012R\"\u0010\u0013\u001a\n\u0012\u0004\u0012\u00020\u0015\u0018\u00010\u0014X\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\u0016\u0010\u0017\"\u0004\b\u0018\u0010\u0019R\u001a\u0010\u001a\u001a\u00020\u001bX\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\u001c\u0010\u001d\"\u0004\b\u001e\u0010\u001fR*\u0010 \u001a\u0012\u0012\u0004\u0012\u00020\u000e\u0012\u0006\u0012\u0004\u0018\u00010\u0002\u0018\u00010!X\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\"\u0010#\"\u0004\b$\u0010%R\u001a\u0010&\u001a\u00020'X\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b(\u0010)\"\u0004\b*\u0010+R \u0010\u0003\u001a\u000e\u0012\u0002\b\u0003\u0012\u0002\b\u0003\u0012\u0002\b\u00030\u0004X\u0004¢\u0006\b\n\u0000\u001a\u0004\b,\u0010-¨\u00061"}, d2 = {"Lcom/apollographql/apollo/api/Response$Builder;", "T", "", "operation", "Lcom/apollographql/apollo/api/Operation;", "(Lcom/apollographql/apollo/api/Operation;)V", "type", "getData$apollo_api", "()Ljava/lang/Object;", "setData$apollo_api", "(Ljava/lang/Object;)V", "Ljava/lang/Object;", "dependentKeys", "", "", "getDependentKeys$apollo_api", "()Ljava/util/Set;", "setDependentKeys$apollo_api", "(Ljava/util/Set;)V", "errors", "", "Lcom/apollographql/apollo/api/Error;", "getErrors$apollo_api", "()Ljava/util/List;", "setErrors$apollo_api", "(Ljava/util/List;)V", "executionContext", "Lcom/apollographql/apollo/api/ExecutionContext;", "getExecutionContext$apollo_api", "()Lcom/apollographql/apollo/api/ExecutionContext;", "setExecutionContext$apollo_api", "(Lcom/apollographql/apollo/api/ExecutionContext;)V", "extensions", "", "getExtensions$apollo_api", "()Ljava/util/Map;", "setExtensions$apollo_api", "(Ljava/util/Map;)V", "fromCache", "", "getFromCache$apollo_api", "()Z", "setFromCache$apollo_api", "(Z)V", "getOperation$apollo_api", "()Lcom/apollographql/apollo/api/Operation;", "build", "Lcom/apollographql/apollo/api/Response;", "(Ljava/lang/Object;)Lcom/apollographql/apollo/api/Response$Builder;", "apollo-api"}, k = 1, mv = {1, 4, 0})
    /* compiled from: Response.kt */
    public static final class Builder<T> {
        private T data;
        private Set<String> dependentKeys;
        private List<Error> errors;
        private ExecutionContext executionContext = ExecutionContext.Empty;
        private Map<String, ? extends Object> extensions;
        private boolean fromCache;
        private final Operation<?, ?, ?> operation;

        public Builder(Operation<?, ?, ?> operation2) {
            Intrinsics.checkParameterIsNotNull(operation2, "operation");
            this.operation = operation2;
        }

        public final Operation<?, ?, ?> getOperation$apollo_api() {
            return this.operation;
        }

        public final T getData$apollo_api() {
            return this.data;
        }

        public final void setData$apollo_api(T t) {
            this.data = t;
        }

        public final List<Error> getErrors$apollo_api() {
            return this.errors;
        }

        public final void setErrors$apollo_api(List<Error> list) {
            this.errors = list;
        }

        public final Set<String> getDependentKeys$apollo_api() {
            return this.dependentKeys;
        }

        public final void setDependentKeys$apollo_api(Set<String> set) {
            this.dependentKeys = set;
        }

        public final boolean getFromCache$apollo_api() {
            return this.fromCache;
        }

        public final void setFromCache$apollo_api(boolean z) {
            this.fromCache = z;
        }

        public final Map<String, Object> getExtensions$apollo_api() {
            return (Map<String, Object>) this.extensions;
        }

        public final void setExtensions$apollo_api(Map<String, ? extends Object> map) {
            this.extensions = map;
        }

        public final ExecutionContext getExecutionContext$apollo_api() {
            return this.executionContext;
        }

        public final void setExecutionContext$apollo_api(ExecutionContext executionContext2) {
            Intrinsics.checkParameterIsNotNull(executionContext2, "<set-?>");
            this.executionContext = executionContext2;
        }

        public final Builder<T> data(T t) {
            this.data = t;
            return this;
        }

        public final Builder<T> errors(List<Error> list) {
            this.errors = list;
            return this;
        }

        public final Builder<T> dependentKeys(Set<String> set) {
            this.dependentKeys = set;
            return this;
        }

        public final Builder<T> fromCache(boolean fromCache2) {
            this.fromCache = fromCache2;
            return this;
        }

        public final Builder<T> extensions(Map<String, ? extends Object> map) {
            this.extensions = map;
            return this;
        }

        public final Builder<T> executionContext(ExecutionContext executionContext2) {
            Intrinsics.checkParameterIsNotNull(executionContext2, "executionContext");
            this.executionContext = executionContext2;
            return this;
        }

        public final Response<T> build() {
            return new Response<>(this);
        }
    }

    @Metadata(bv = {1, 0, 3}, d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\b\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J(\u0010\u0003\u001a\b\u0012\u0004\u0012\u0002H\u00050\u0004\"\u0004\b\u0001\u0010\u00052\u0012\u0010\u0006\u001a\u000e\u0012\u0002\b\u0003\u0012\u0002\b\u0003\u0012\u0002\b\u00030\u0007H\u0007¨\u0006\b"}, d2 = {"Lcom/apollographql/apollo/api/Response$Companion;", "", "()V", "builder", "Lcom/apollographql/apollo/api/Response$Builder;", "T", "operation", "Lcom/apollographql/apollo/api/Operation;", "apollo-api"}, k = 1, mv = {1, 4, 0})
    /* compiled from: Response.kt */
    public static final class Companion {
        private Companion() {
        }

        public /* synthetic */ Companion(DefaultConstructorMarker $constructor_marker) {
            this();
        }

        @JvmStatic
        public final <T> Builder<T> builder(Operation<?, ?, ?> operation) {
            Intrinsics.checkParameterIsNotNull(operation, "operation");
            return new Builder<>(operation);
        }
    }
}
